@import "./util.less";

html,
body {
  // height:auto;
  // min-height: 100%;
  height: 100%;
  position: relative;
}

body input,
html {
  font-size: 32px;
  -webkit-overflow-scrolling: touch; // font: 12px/1.5  Arial,'Hiragino Sans GB','冬青黑','Microsoft YaHei', YaHei, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-family: "PingFang SC", "Helvetica Neue", Helvetica, Tahoma, Arial, "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
}

article,
aside,
blockquote,
body,
button,
code,
dd,
details,
div,
dl,
dt,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
hr,
input,
legend,
li,
menu,
nav,
ol,
p,
pre,
section,
td,
textarea,
th,
ul {
  margin: 0;
  padding: 0;
}

input {
  outline: none;
  border: 0;
  line-height: 1.5;
}

input::-webkit-input-placeholder {
  color: rgba(34, 33, 45, 0.6);
}

textarea::-webkit-input-placeholder {
  color: rgba(34, 33, 45, 0.6);
}

#app {
  width: 750px;
  margin: 0 auto;
}

.x-part {
  padding: 0 32px;
}

.x-scroll-y {
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

.x-scroll-x {
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
}

.x-button {
  background: rgba(30, 31, 38, 1);
  color: #fff;
  border-radius: 40px;
}


.x-popup-mask—self {
  background: rgba(0, 0, 0, .4);
}

.newRed {
  text-align: center;
  position: relative;

  .redDialog {
    width: 750px;
    height: 846px;
    background: url(../images/redDialog.png) no-repeat center;
    margin: 0 auto;
    box-sizing: border-box;
    padding-top: 365px;

    .tips {
      text-align: center;

      .money {
        font-size: 96px;
        font-weight: 500;
        color: rgba(255, 244, 121, 1);
        line-height: 135px;

        span {
          font-size: 48px;
          line-height: 67px;
        }
      }

      .tipName {
        font-size: 32px;
        font-weight: 600;
        color: rgba(255, 255, 255, 1);
        line-height: 45px;
        margin-top: 10px;
      }

      .subTip {
        font-size: 24px;
        color: rgba(255, 255, 255, 1);
        line-height: 33px;
      }
    }

    .getBtn {
      width: 336px;
      height: 80px;
      background: linear-gradient(325deg, rgba(250, 180, 12, 1) 0%, rgba(255, 236, 116, 1) 100%);
      box-shadow: 0px 2px 20px 0px rgba(161, 83, 13, 0.5);
      border-radius: 40px;
      margin: 71px auto 0;
      text-align: center;
      line-height: 80px;
      font-size: 34px;
      font-weight: 500;
      color: rgba(136, 67, 11, 1);
    }

  }

  .close {
    position: absolute;
    width: 66px;
    height: 66px;
    background: url(../images/red_close.png);
    bottom: -109px;
    left: 50%;
    transform: translateX(-50%);
  }
}

.oldDialog {
  text-align: center;
  position: relative;

  .redDialog {
    width: 750px;
    // height: 930px;
    // background: url(../images/oldDialog.png) no-repeat center;
    margin: 0 auto;
    box-sizing: border-box;
    // padding-top: 300px;


    .title {
      height: 45px;
      font-size: 32px;
      font-weight: 600;
      color: rgba(255, 244, 121, 1);
      height: 360px;
      background: url(../images/oldDialog_head.png) no-repeat center;
      width: 750px;
      padding-top: 300px;
      box-sizing: border-box;
    }

    .awardList {
      background: #D04047;
      padding-top: 34px;
      width: 560px;
      margin-left: 95px;
      margin-top: -3px;
      padding-bottom: 20px;
      .award {
        width: 500px;
        height: 130px;
        background: url(../images/award.png) no-repeat center;
        margin: 0 auto 20px;
        display: flex;
        flex-direction: row;

        .other {
          width: 252px;
          text-align: left;
          margin-left: 20px;
          padding-top: 27px;

          .name {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 28px;
            font-weight: 500;
            color: rgba(51, 51, 51, 1);
            line-height: 40px;
          }

          .time {
            font-size: 22px;
            color: rgba(51, 51, 51, .6);
            line-height: 30px;
            margin-top: 5px;
          }
        }

        .money {
          width: 149px;
          height: 130px;
          text-align: center;
          line-height: 130px;
          font-size: 48px;
          font-weight: 500;
          color: rgba(255, 65, 62, 1);

          span {
            font-size: 24px;
            font-weight: 600;
            color: rgba(255, 65, 62, 1);
            line-height: 33px;
            vertical-align: super;
          }
        }
      }

    }



    .tips {
      font-size: 24px;
      margin-top: -30px;
      color: rgba(255, 255, 255, .6s);
      line-height: 110px;
      text-align: center;
      height: 140px;
      background: url(../images/oldDialog_buttom.png) no-repeat center;
    }
  }

  .close {
    position: absolute;
    width: 66px;
    height: 66px;
    background: url(../images/red_close.png);
    bottom: -109px;
    left: 50%;
    transform: translateX(-50%);
  }
}